{% extends "stream/user/settings/base.html" %}

{% block extrahead %}<link rel="stylesheet" type="text/css" href="/media/stream/css/forms.css" />{% endblock %}

{% block content %}
{% block type %}<h2>Add Friend</h2>{% endblock %}

{% if form.has_errors %}
<h2>Please correct the following error{{ form.error_dict|pluralize }}:</h2>
{% endif %}

<div>
<fieldset class="object_form aligned">
	<form method="post" action=".">
		{% block form_items %}
		<div class="form_row required">
				<label for="id_username">Username:</label>{{ form.username }}
				{% if form.username.errors %}*** {{ form.username.errors|join:", " }}{% endif %}
		</div>
		{% endblock %}
		<div class="submit_row">
			{% block deletelink %}{% endblock %}
			<input type="submit" value="save" />
		</div>
	</form>
</fieldset>

{% endblock %}
